package com.gzz.mybatis.common.conditices.rule;

import lombok.Getter;

/**
 * @author higmd
 */
@Getter
public enum SqlSymbol {
    AND("and"),
    OR("or"),
    NOT("not"),

    EXISTS("exists"),
    NOT_EXISTS("not exists"),
    //
    LIKE("like"),
    NOT_LIKE("not like"),
    EQ("="),
    NE("<>"),
    GT(">"),
    GE(">="),
    LT("<"),
    LE("<="),
    BETWEEN("between"),
    NOT_BETWEEN("not between"),
    IN("in"),
    NOT_IN("not in"),
    //
    IS_NULL("is null"),
    IS_NOT_NULL("is not null"),
    //
    GROUP_BY("group by"),
    HAVING("having"),
    //
    ORDER_BY("order by"),
    ASC("asc"),
    DESC("desc");

    private final String notation;

    SqlSymbol(final String notation) {
        this.notation = notation;
    }

}
